eventcontroller: Fix crossing event scopes
authorMatthias Clasen <mclasen@redhat.com>
Fri, 29 May 2020 23:39:15 +0000 (19:39 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 29 May 2020 23:41:39 +0000 (19:41 -0400)
commit66120cff4b4d9685a093bba7f201a1c025aadcf9
tree8f5c0dcfb138082b6880b7217475e5bbb125b555
parent8ce1034e874e4ae74a3c51e5d8efa0f9d5af6297
eventcontroller: Fix crossing event scopes

We want to deliver crossing events to controllers
with scope same-native as long as at least one of
the targets is on the same native. As a new approach,
treat out-of-scope targets like NULL, and deliver
crossing events as long as one of the targets is
not NULL.
gtk/gtkeventcontroller.c